import { useSelector } from 'umi';
import styles from './index.less';
import { namespace } from '@/src/newModels/pressureReport/SceneTemplateSettingsM';
import SceneDetailC from './sceneDetailC';

const StepFour = () => {
  const modelState = useSelector((state) => state[namespace]);
  const { stepTwoState = {}, stepThreeState = [] } = modelState;
  const { sceneIdInfo = [] } = stepTwoState;
  return (
    <div className={styles.StepFour}>
      <SceneDetailC sceneList={sceneIdInfo} riskFactor={stepThreeState} />
    </div>
  );
};
export default StepFour;
